<?php
error_reporting(0);
session_start();
if(!session_id())session_start();
ob_start();
if( isset( $_SESSION['user'] ) ){
}else{
    echo("<script type='text/javascript'>alert('请先登录！');window.location.href='./index.php';</script>");
}
?>
<html>
<head>
    <link rel="shortcut icon" href="../favicon.ico"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>后台管理</title>
    <!--载入css-->
    <link href="../admin/style/bootstrap.css" rel="stylesheet" />
    <link href="../admin/style/base.css" rel="stylesheet" />

    <!--载入JS-->
    <script src="../admin/style/js/jquery.min.js"></script>
    <script src="../admin/style/js/bootstrap.min.js"></script>
    <!--备份JS-->
    <!--script src="http://cdn.bootcss.com/jquery/1.11.2/jquery.min.js"></script>
    <script src="http://cdn.bootcss.com/bootstrap/3.3.4/js/bootstrap.min.js"></script-->

    <!--add.php-->
    <!-----------------//-------//-------------------->

</head>
<body background="/image/fzbeijing.png">
<nav class="navbar navbar-default row no-yj  navbar-fixed-top">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-list-left" aria-expanded="false">
                <span class="sr-only">个人信息</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#"></a>
        </div>

        <div class="collapse navbar-collapse pull-right" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li><a class="dropdown-toggle" data-toggle="dropdown" href="#" style="height: 50px">
                        <img class="img-circle pull-left img-responsive nav-user-img" src="../admin/style/user.png" /><span class="pull-left nav-username">管理员</span></a>

                    <ul class="dropdown-menu dropdown-menu-right clearfix" style="padding-top: 0px">
                        <li class="user-li-head"><span>
                                    <img class="img-circle nav-user-img-xiala center-block" src="../admin/style/mrtx.jpg" /></span>
                            <p></p>
                        </li>
                        <li style="padding: 10px 20px; padding-bottom: 20px">
                            <div class="pull-right">
                                <a href="../admin/common.php?url=exit" class="btn btn-default btn-flat no-yj">注销</a>
                            </div>
                        </li>
                    </ul>
                </li>
            </ul>


        </div>



    </div>
</nav>
<div class="row" style="margin-top:70px">
    <div class="  nav-left col-md-2 no-padding" id="nav-list-left">
        <div class="user-panel">
            <img src="../admin/style/mrtx.png" class="img-circle center-block" />
        </div>

        <div class="nav-list" >
            <ul>
                <li>
                    <a href="../">首页</a>
                </li>
                <li>
                    <a href="../admin/main.php">管理中心</a>
                </li>
                <li>
                    <a href="../admin/add.php">添加订单号</a>
                </li>
                <li>
                    <a href="../admin/list.php">订单号列表</a>
                </li>
                <li>
                    <a href="../admin/common.php?url=exit">退出</a>
                </li>
            </ul>
        </div>
    </div>
</div>
<div class="main-right  col-md-10 col-md-offset-2">
